<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>angularjs-demo</title>
</head>
<link rel="stylesheet" href="css/css.css">
<script type="text/javascript" src="js/common/jquery.min.js"></script>
<script type="text/javascript" src="js/common/angular.min.js"></script>
<script type="text/javascript" src="js/common/angular-ui-router.min.js"></script>
<script type="text/javascript" src="js/app.js"></script>
<script type="text/javascript" src="js/controller.js"></script>
<script type="text/javascript" src="js/ngc.js"></script>
<body ng-app="myModule">

	<div style="margin-bottom: 20px;" class="nav1">
		<a ui-sref="index" ui-sref-active="active" ng-class="{active:
					$state.includes('index')}">首页</a>
		<a ui-sref="news" ng-class="{active:
					$state.includes('news') || 
					$state.includes('newsc')}">新闻</a>
		<a ui-sref="friend" ng-class="{active:
					$state.includes('friend')}">好友</a>
		<a ui-sref="about.p1" ng-class="{active:
					$state.includes('about') || 
					$state.includes('about.p1') || 
					$state.includes('about.p2') || 
					$state.includes('about.p3')}">关于我们</a>
		<a ui-sref="ajaxget" ng-class="{active:
					$state.includes('ajaxget')}">ajax获取</a>	
					<a style="margin-left:100px" href="ema_web/WEB-INF/html/index.html">链接到核心项目地址</a>					
	</div>
	<div ui-view class="box"></div>

</body>
</html>